package com.vastcom.sigma.admin.dao;

import com.vastcom.sigma.admin.model.Refertype;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

public interface ReferTypeDao extends JpaRepository<Refertype,String> {


    @Query("select r from Refertype r order by r.basecode asc ")
    List<Refertype> getRefertypesOrOrderByBasecode();
}
